Skip to content

Conversation

@stephanos
Copy link
Collaborator

@stephanos stephanos commented Nov 18, 2025

What was changed

Make .NET, Python and TS kitchensink workflows wait for child workflow execution completion.

Go and Java already do the right thing.

Why?

The default wait AwaitableChoice policy is waitFinish, but these impls only wait for the start, not completion.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@stephanos stephanos marked this pull request as ready for review November 18, 2025 22:06
@stephanos stephanos requested a review from a team as a code owner November 18, 2025 22:06
@stephanos stephanos requested a review from THardy98 November 18, 2025 22:06
Copy link
Contributor

@THardy98 THardy98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just unsure of why the one change is necessary

Input: []*common.Payload{
ConvertToPayload(&WorkflowInput{
InitialActions: ListActionSet(NewTimerAction(1 * time.Millisecond)),
InitialActions: ListActionSet(NewEmptyReturnResultAction()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this change for?

Copy link
Collaborator Author

@stephanos stephanos Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without a ReturnResult action the workflow never returns. That's why it had the abandon policy on it before.

Error:      	Received unexpected error:
                	            	timed out while waiting for runs to complete: context deadline exceeded
                	Test:       	TestKitchenSink/ExecActivity/ExecChildWorkflow/go

@stephanos stephanos merged commit db86379 into main Nov 18, 2025
28 checks passed
@stephanos stephanos deleted the wait-for-child-wf branch November 18, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants